<?php
namespace app\shop\model;

use think\Model;

class TemporaryShoppingCart extends Model
{
    /*
   * 购物车和商品多对一
   */
    public function shopGoods()
    {
        return $this->belongsTo('ShopGoods','goods_id','id');
    }
}